package com.scalar.chiptrack.sales;

import org.apache.struts.util.LabelValueBean;

import java.util.ArrayList;
import java.io.Serializable;

public class TopCustomers implements Serializable {

    private String CustomersAlisName = null;
    private int rank = -1;
    private String customerType  = null;
    private int cTypeId= 0;

    private boolean checked    = false;
    private String[] selectedCustomers;
	private String[] availablecustomers;
    private ArrayList selectedCustomersList = new ArrayList();
    private ArrayList availableCustomersList = new ArrayList();
    private ArrayList ranks = new ArrayList();



    public String getCustomersAlisName() {
        return CustomersAlisName;
    }

    public void setCustomersAlisName(String customersAlisName) {
        CustomersAlisName = customersAlisName;
    }

    public int getRank() {
        return rank;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }

    public String getCustomerType() {
        return customerType;
    }

    public void setCustomerType(String customerType) {
        this.customerType = customerType;
    }

    public int getCTypeId() {
        return cTypeId;
    }

    public void setCTypeId(int cTypeId) {
        this.cTypeId = cTypeId;
    }


    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }

    public String[] getSelectedCustomers() {
        return selectedCustomers;
    }

    public void setSelectedCustomers(String[] selectedCustomers) {
        this.selectedCustomers = selectedCustomers;
    }

    public String[] getAvailablecustomers() {
        return availablecustomers;
    }

    public void setAvailablecustomers(String[] availablecustomers) {
        this.availablecustomers = availablecustomers;
    }

    public ArrayList getSelectedCustomersList() {
        return selectedCustomersList;
    }

    public void setSelectedCustomersList(ArrayList selectedCustomersList) {
        this.selectedCustomersList = selectedCustomersList;
    }

    public ArrayList getAvailableCustomersList() {
        return availableCustomersList;
    }

    public void setAvailableCustomersList(ArrayList availableCustomersList) {
        this.availableCustomersList = availableCustomersList;
    }

    public ArrayList getRanks() {
        return ranks;
    }

    public void setRanks(ArrayList ranks) {
        ArrayList ranklist = new ArrayList();
        for ( int i = 1; i < 20; i++ )
        {
            ranklist.add( new LabelValueBean( i+"", i+"" ) );
        }
        this.ranks= ranklist;
    }
}
